from article.models import Article
from user.models import User
from calculate import add

MAX = 10
article = Article('水浒传','吴承恩')
user =  User('小红','12345')
user.publish_article(article)

list = [1,23,24]
sum = add(*list)
print('总和是:',sum)